package com.xiaoyu.lib_av.proxy

import com.xiaoyu.lib_av.datamodel.CallVendorType

import java.io.File

interface IAVProxy {

    @get:CallVendorType.CallVendorTypeDef
    val vendorType: String

    val logDir: File

    val isCalling: Boolean

    var isEnableSpeaker: Boolean

    val lastCallRecordFilePath: String

    fun onCreate()

    fun onDestroy()

    fun isCalling(fuid: String?): Boolean

    fun setMute(mute: Boolean): Boolean

    fun stopRecording()

    fun enableLocalVideo(enable: Boolean): Boolean

    fun switchCamera()
}
